package com.matt.foundation.vo;

import lombok.Data;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2017/9/22
 * *******************************
 */
@Data
public class GardenAdviseVo {
    private String childrenName;
    private String content;

    public static GardenAdviseVo of(Object[] objects) {
        GardenAdviseVo vo = new GardenAdviseVo();
        vo.setChildrenName(objects[0] == null ? "" : objects[0].toString());
        vo.setContent(objects[1] == null ? "" : objects[1].toString());
        return vo;
    }
}
